﻿using System.ComponentModel;

namespace doufu.Model
{
    [PetaPoco.TableName("permission")]
    [PetaPoco.PrimaryKey("permission_id")]
    public class permission : ModelBase
    {
        [DisplayName("ID")]
        public int permission_id { get; set; }
        [DisplayName("权限名称")]
        public string permission_name { get; set; }
        [DisplayName("权限Code")]
        public string permission_code { get; set; }
        [DisplayName("是否在菜单中显示")]
        public int show_in_menu { get; set; }
        [DisplayName("父节点ID")]
        public int parent_id { get; set; }
    }
}